set term postscript eps enhanced color

# Successors & predecessors

set output "succ_pred.eps"
set xlabel "Round of the algorithm"
set ylabel "Wrong links"
set xrange [0:50]
#set yrange [0:500]

plot "tman.dat" using 1:2 with linespoints title "Wrong successors", "tman.dat" using 1:3 with linespoints title "Wrong predecessors"


# AS average

set output "as_dist.eps"
set xlabel "Round of the algorithm"
set ylabel "Average AS distance"
set xrange [0:50]
set yrange [0:2]

plot "tman.dat" using 1:4 with linespoints title "Non-optimized AS distance", "tman.dat" using 1:5 with linespoints title "Optimized AS distance"